namespace Alumnos.Migrations
{
    using System;
    using System.Data.Entity;
    using System.Data.Entity.Migrations;
    using System.Linq;
    using WebMatrix.WebData;

    internal sealed class Configuration : DbMigrationsConfiguration<Alumnos.Models.AlumnosContext>
    {
        public Configuration()
        {
            AutomaticMigrationsEnabled = true;
            ContextKey = "Alumnos.Models.AlumnosContext";
        }

        protected override void Seed(Alumnos.Models.AlumnosContext context)
        {
            WebSecurity.InitializeDatabaseConnection("AlumnosConnection", "usuario", "id", "username", true);
        }
    }
}
